import { request } from '@/utils';
import { getRestBaseUrl } from '@/config';

export const loadTaskLogsApi = id =>
  request({
    url: `${getRestBaseUrl()}/iop/taskService/listTaskLogs`,
    method: 'POST',
    data: { id },
    timeout: 3 * 60 * 1000, // 三分钟
  });
